package com.ruoyi.statisticalCenter.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 面单充值对象 sc_sheet_recharge
 * 
 * @author pyx
 * @date 2024-03-01
 */
public class ScSheetRecharge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 网点名称 */
    @Excel(name = "网点名称")
    private String networkName;

    /** 网点编号 */
    @Excel(name = "网点编号")
    private String networkCode;

    /** 对象名称 */
    @Excel(name = "对象名称")
    private String objectName;

    /** 对象类型 */
    @Excel(name = "对象类型")
    private String objectType;

    /** 面单来源 */
    @Excel(name = "面单来源")
    private String singleSource;

    /** 数量 */
    @Excel(name = "数量")
    private Long quantity;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal unitPrice;

    /** 小计 */
    @Excel(name = "小计")
    private BigDecimal subtotal;

    /** 所属对象 */
    @Excel(name = "所属对象")
    private String owningObject;

    /** 父客户 */
    @Excel(name = "父客户")
    private String parentClient;

    /** 发放来源 */
    @Excel(name = "发放来源")
    private String issueSource;

    /** 发放时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发放时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date issueTime;

    /** 收款方式 */
    @Excel(name = "收款方式")
    private String paymentMethod;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNetworkName(String networkName) 
    {
        this.networkName = networkName;
    }

    public String getNetworkName() 
    {
        return networkName;
    }
    public void setNetworkCode(String networkCode) 
    {
        this.networkCode = networkCode;
    }

    public String getNetworkCode() 
    {
        return networkCode;
    }
    public void setObjectName(String objectName) 
    {
        this.objectName = objectName;
    }

    public String getObjectName() 
    {
        return objectName;
    }
    public void setObjectType(String objectType) 
    {
        this.objectType = objectType;
    }

    public String getObjectType() 
    {
        return objectType;
    }
    public void setSingleSource(String singleSource) 
    {
        this.singleSource = singleSource;
    }

    public String getSingleSource() 
    {
        return singleSource;
    }
    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }
    public void setUnitPrice(BigDecimal unitPrice) 
    {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getUnitPrice() 
    {
        return unitPrice;
    }
    public void setSubtotal(BigDecimal subtotal) 
    {
        this.subtotal = subtotal;
    }

    public BigDecimal getSubtotal() 
    {
        return subtotal;
    }
    public void setOwningObject(String owningObject) 
    {
        this.owningObject = owningObject;
    }

    public String getOwningObject() 
    {
        return owningObject;
    }
    public void setParentClient(String parentClient) 
    {
        this.parentClient = parentClient;
    }

    public String getParentClient() 
    {
        return parentClient;
    }
    public void setIssueSource(String issueSource) 
    {
        this.issueSource = issueSource;
    }

    public String getIssueSource() 
    {
        return issueSource;
    }
    public void setIssueTime(Date issueTime) 
    {
        this.issueTime = issueTime;
    }

    public Date getIssueTime() 
    {
        return issueTime;
    }
    public void setPaymentMethod(String paymentMethod) 
    {
        this.paymentMethod = paymentMethod;
    }

    public String getPaymentMethod() 
    {
        return paymentMethod;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("networkName", getNetworkName())
            .append("networkCode", getNetworkCode())
            .append("objectName", getObjectName())
            .append("objectType", getObjectType())
            .append("singleSource", getSingleSource())
            .append("quantity", getQuantity())
            .append("unitPrice", getUnitPrice())
            .append("subtotal", getSubtotal())
            .append("owningObject", getOwningObject())
            .append("parentClient", getParentClient())
            .append("issueSource", getIssueSource())
            .append("issueTime", getIssueTime())
            .append("paymentMethod", getPaymentMethod())
            .toString();
    }
}
